package nc.ui.mmpac.sumpickm.serviceproxy;

import nc.bs.framework.common.NCLocator;
import nc.itf.mmpac.sumpickm.ISumPickmMaintainService;
import nc.ui.pubapp.pub.task.ISingleBillService;
import nc.vo.mmpac.sumpickm.entity.AggSumPickmVO;

public class SumPickmDeleteProxy implements ISingleBillService<AggSumPickmVO> {

    @Override
    public AggSumPickmVO operateBill(AggSumPickmVO bill) throws Exception {

        this.getService().delete(new AggSumPickmVO[] {
            bill
        });

        return bill;
    }

    private ISumPickmMaintainService getService() {
        return NCLocator.getInstance().lookup(ISumPickmMaintainService.class);
    }
}
